<#include "/lib/macro-lib.ftl"/>

<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "../inc/commonJs.html">
<#include "../inc/commonWbox.html">
<script src="../../styles/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">

function doSave(){
	var url = "carsqAddact.do";
	$('form').form('submit',{  
	    url:url,
	    onSubmit:function(){
			return $(this).form('validate')
	    },  
	    success:function(data){  
			top.closemodalwindow(true,data);
	    }  
	});
}



var wBox;
var wBox1;
$(document).ready(function(){

	  wBox = $("#show_box").wBox({title:"测试一下弹出窗口",drag:true,requestType:"iframe",target:"carsqXz.do"});
	  $("#but").click(function(){
	   wBox.showBox();
	  });
	  wBox1 = $("#show_box").wBox({title:"测试一下弹出窗口",drag:true,requestType:"iframe",target:"carsqXzbm.do"});
	  $("#bm").click(function(){
	   wBox1.showBox();
	  });
	 });

function wboxCallback(userid,bmid,username,bmname){
	document.getElementById("ycrz").value=username;
	document.getElementById("ycr").value=userid; 
	document.getElementById("ycbmz").value=bmname; 
	document.getElementById("ycbm").value=bmid;
	 wBox.close();
	 
}		
function aa(id,name){
	document.getElementById("ycbmz").value=name; 
	document.getElementById("ycbm").value=id; 
	 wBox1.close(); 
}	



function submitSq() {
	var v = $('#dt_sqsj').datetimebox('getValue');
	var b = $('#dt_kssj').datetimebox('getValue');
	var t = $('#dt_jssj').datetimebox('getValue');
	alert(v);
	document.carsq.sqsj.value=v;
	document.carsq.kssj.value=b;
	document.carsq.jssj.value=t;
	document.carsq.submit();
}
</script>
<title>公众信息网管理系统&nbsp; - 人事信息</title>
</head>
<body topmargin="0">
<div align="center">
  <table border="1" width="90%" cellpadding="0" cellspacing="0" align="center" style=" margin-top:10px; border-collapse: collapse; border:#ccc 1px solid;">
    <form align="center"  method="POST" enctype='multipart/form-data' name="carsq" LANGUAGE="javascript" onSubmit="return FrmAddLink_onsubmit()" action="carsqAddact.do">
      <tr>
             <tr>
             <td class="td_table_1" width="15%" height="30" align="right" valign="middle"><span class="smallFont">车牌号：</span></td>
        <td class="td_table_2" width="35%" height="30"><div align="left">&nbsp;
          <select size="1" name="cph" style="background-color:#FFF;">
            <#list cpxx as t>
            <option value="${t.cph}">${t.cph}</option>
            </#list>
          </select>
            </div></td>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">申请时间：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input id="dt_sqsj" type="text" class="easyui-datetimebox" data-options="required:true" size="26"/>
			<input type="hidden" name="sqsj" value=>
            </div></td>
      </tr>
        <tr>
         <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">用车人：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
        <input type="hidden" id="ycr" name="ycr" value=''>
         <input name="ycrz" id="ycrz" size="26" class="smallInput" maxlength="20"  title="" value="">
		<input type="button" id="but" value="选择" />
         </td>
        <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">用车部门：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
        <input type="hidden" id="ycbm" name="ycbm" value=''>
       <input name="ycbmz" id="ycbmz" size="26" class="smallInput" maxlength="20"  title="" value="">
         <input type="button" id="bm" value="选择" /></td>
      </tr>
            <tr>
        <td class="td_table_1" height="30" align="right"><span class="smallFont">使用事由：</span></td>
        <td class="td_table_2" colspan=3 height="30"><div align="left">&nbsp;
           <textarea name="yhsy" style="width:875px;height:200px;">这里写内容</textarea>
            </font> </div></td>
      </tr>
             <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">起始时间：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input id="dt_kssj" class="easyui-datetimebox" data-options="required:true" size="26" class="smallInput" maxlength="20"  title="">
            <input type="hidden" name="kssj" value=>
            </div></td>
        <td class="td_table_1" height="30" align="right"><span class="smallFont">结束时间：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input id="dt_jssj" class="easyui-datetimebox" data-options="required:true" size="26" class="smallInput" maxlength="20"  title="">
            <input type="hidden" name="jssj" value=>
            </div></td>
      </tr>
      </tr>
      <tr>
              <td class="td_table_1" width="15%" colspan="1" height="30" align="right"><span class="smallFont">里程：</span></td>
        <td class="td_table_2" width="35%" colspan="3" height="30">&nbsp;
       <input name="lc" size="10" class="smallInput" maxlength="20"  title="">公里
          </select>
          </td>
      </tr>
      <tr>
        <td class="td_table_1" height="30" align="right"><span class="smallFont">备注：</span></td>
        <td class="td_table_2" colspan=3 height="30"><div align="left">&nbsp;
           <textarea name="bz" style="width:875px;height:200px;"></textarea>
            </font> </div></td>
      </tr>
    </form>
  </table>
  </center>
</div>
</body>
</html>